/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.ipti.br.tag.bo;

import org.ipti.br.tag.dao.PersonageScheduleFacade;
import org.ipti.br.tag.entity.PersonageSchedule;
import java.io.Serializable;
import java.util.List;
import javax.inject.Inject;
import javax.ejb.Stateless;

/**
 *
 * @author root
 */
@Stateless
public class PersonageScheduleBO implements Serializable {

    @Inject
    private PersonageScheduleFacade personageScheduleDAO;

    public PersonageScheduleFacade getPersonageScheduleDAO() {
        return personageScheduleDAO;
    }

    public void create(PersonageSchedule personageSchedule) {
        getPersonageScheduleDAO().create(personageSchedule);
    }

    public void edit(PersonageSchedule personageSchedule) {
        getPersonageScheduleDAO().edit(personageSchedule);
    }

    public void remove(PersonageSchedule personageSchedule) {
        getPersonageScheduleDAO().remove(personageSchedule);
    }

    public PersonageSchedule find(Object id) {
        return getPersonageScheduleDAO().find(id);
    }

    public List<PersonageSchedule> findAll() {
        return getPersonageScheduleDAO().findAll();
    }

    public void editForSynchronization(PersonageSchedule personageSchedule) {
        getPersonageScheduleDAO().editForSynchronization(personageSchedule);
    }
}
